﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Enums
{
    public enum Zhenying
    {
        WEI, SHU, WU, QUN
    }

    public static class ZhenyingExtension
    {

        public static string tomark(this Zhenying zhenying)
        {
            switch (zhenying)
            {
                case Zhenying.WEI:
                    return "魏";
                case Zhenying.SHU:
                    return "蜀";
                case Zhenying.WU:
                    return "吴";
                case Zhenying.QUN:
                    return "群";
                default:
                    return string.Empty;
            }
        }
    }
}
